package entity;

import java.util.List;

import entity.annotation.Onetomany;
import entity.annotation.Table;

@Table(name="t_academy")
public class Academy {
	private Integer academy_id;
	private String name;
	@Onetomany(mappedby="Student",mappedfk="academy_id")
	private List<Student> stus;

	public Integer getacademy_Id() {
		return academy_id;
	}

	public void setacademy_Id(Integer academy_id) {
		this.academy_id = academy_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<Student> getStus() {
		return stus;
	}

	public void setStus(List<Student> stus) {
		this.stus = stus;
	}
	
	
}
